Counted to 99
[AWT-EventQueue-0] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
WARNING: Invoking send() too late (probably in a callback), so Camera is not able to send the token {type="class ptolemy.data.AWTImageToken", width="640", height="480"} to the output image. Token is discarded.
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2550$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2549$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2574$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2568$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$2567$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3069$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3068$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3093$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3087$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3086$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3436$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3435$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3460$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3454$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3453$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4045$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4044$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4069$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4063$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4062$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4498$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4497$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4522$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4516$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$4515$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5033$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5032$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5057$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5051$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5050$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5570$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5569$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5594$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5588$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5587$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/aprilTags/demo/Kubi/Kubi.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .Kubi.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .Kubi.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .Kubi.FaceDetector.script
Because:
Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .Kubi.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5841$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5840$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5865$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5859$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$5858$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at ptolemy.vergil.basic.export.ExportModel.exportModel(ExportModel.java:227)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTest.RunExportModel(ExportModelJUnitTest.java:153)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch.RunExportModel(ExportModelJUnitTestBatch.java:84)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102)
at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47)
at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41)
at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
Caused by: java.lang.RuntimeException: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:223)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
... 13 more
Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libprism_es2.so from relative path
Failed Graphics Hardware Qualifier check.
System GPU doesn't meet the es2 pipe requirement
GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline
*** Fallback to Prism SW pipeline
Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libprism_sw.so from relative path
JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libglass.so from relative path
Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libglassgtk3.so from relative path
vsync: true vpipe: false
Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libjfxmedia.so from relative path
ClipPlayer: Error in ClipPlayer: Could not open audio device for playback.
MediaException: PLAYBACK_HALTED : Could not open audio device for playback.
at javafx.media/javafx.scene.media.MediaException.haltException(MediaException.java:150)
at javafx.media/javafx.scene.media.MediaPlayer$_PlayerStateListener.lambda$onHalt$7(MediaPlayer.java:2565)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
at java.base/java.lang.Thread.run(Thread.java:834)
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
WARNING: TestSpontaneous: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [20.1]
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
WARNING: Invoking send() too late (probably in a callback), so Camera is not able to send the token {type="class ptolemy.data.AWTImageToken", width="640", height="480"} to the output image. Token is discarded.
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
WARNING: Invoking send() too late (probably in a callback), so WebSocketServer is not able to send the token {socketID = 0, status = "closed"} to the output connection. Token is discarded.
WARNING: Invoking send() too late (probably in a callback), so WebSocketServer is not able to send the token {socketID = 0, status = "closed"} to the output connection. Token is discarded.
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
Foscam2: The timeout period of 5000ms has been exceeded.
HttpClientHelper.java: Received an error for request 0: io.netty.channel.ConnectTimeoutException: connection timed out: /10.0.0.46:80
io.netty.channel.ConnectTimeoutException: connection timed out: /10.0.0.46:80
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:267)
at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:125)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
Foscam2: Error: connection timed out: /10.0.0.46:80
WARNING: Foscam2: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [10.0]
HttpClientHelper.java: Received an error for request 0: io.netty.channel.ConnectTimeoutException: connection timed out: /10.0.0.46:80
io.netty.channel.ConnectTimeoutException: connection timed out: /10.0.0.46:80
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:267)
at io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:125)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision12
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision12
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision12
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision12.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision12.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision12
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12536$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12535$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12560$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12554$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12553$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12977$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12976$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13001$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12995$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$12994$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision7
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision7
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision7
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision7.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision7.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision7
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13418$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13417$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13442$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13436$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13435$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision10
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision10
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision10
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision10.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision10.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision10
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13859$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13858$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13883$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13877$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$13876$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14300$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14299$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14324$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14318$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14317$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision8
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision8
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision8
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14741$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14740$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14765$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14759$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$14758$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision8
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision8
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision8
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision8.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision8.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision8
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15182$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15181$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15206$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15200$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15199$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision11
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision11
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/demo/ComputerVision/ComputerVision.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// A computer vision accessor.
// Copyright (c) 2017 The Regents of the University of California.
// All rights reserved.
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
/** A computer vision accessor. This accessor takes an input image, applies
* a computer vision transformation, and outputs the modified image.
*
* Try me! For 'input', enter
* <code>/accessors/hosts/browser/demo/computerVision/terraswarm.jpg</code>
* then click 'react to inputs'.
*
* The input may be an image or a path to a local image. Remote images are not
* supported due to browser security restrictions - a browser will not allow
* a remote image to be exported from a canvas.
*
* This accessor uses the computer vision library from UC Irvine,
* https://github.com/ucisysarch/opencvjs
* Please see cvlicense.txt in /accessor/web/hosts/browser/modules/cvlicense.txt,
* available as <a href="http://accessors.org/hosts/browser/modules/cvlicense.txt">http://accessors.org/hosts/browser/modules/cvlicense.txt</a>.
*
* To run, please point your browser to:
* <a href="http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html">http://accessors.org/node_modules/@accessors-hosts/browser/demo/computerVision/computerVision.html</a>
*
* @accessor image/ComputerVision
* @input input (string or image) An image or path to a local image. Remote
* images are not supported due to browser security restrictions - a browser
* will not allow a remote image to be exported from a canvas.
* @output output (image) A modified image.
* @parameter options (JSON) Options for the selected transform, if any.
* @parameter transform (string) The transform to apply to the image. Selected
* from a list.
* @author Sajjad Taheri (CV code), Elizabeth Osyk (accessorization)
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var cv = require("@accessors-modules/computer-vision");
/** Create inputs, outputs and parameters for the accessor.
*/
exports.setup = function () {
this.input('input');
this.parameter('options', {
type: 'JSON'
});
this.parameter('transform', {
type: 'string',
options: cv.filters,
value: 'makeGray'
});
this.output('output');
};
/** Register an input handler to apply the selected transformation on each input
* image.
*/
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var image = this.get('input');
var options = this.getParameter('options');
var transform = this.getParameter('transform');
cv.filter(image, transform, options, function (result) {
self.send('output', result);
});
});
};
"/> caused an exception to be thrown.
in .ComputerVision.ComputerVision11
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .ComputerVision.ComputerVision11.script
Because:
Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// A computer vision accessor.
...
in .ComputerVision.ComputerVision11.script
Because:
Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .ComputerVision.ComputerVision11
Because:
Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js
Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:89)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:62)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15623$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15622$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15647$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:62)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15641$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$15640$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at ptolemy.vergil.basic.export.ExportModel.exportModel(ExportModel.java:227)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTest.RunExportModel(ExportModelJUnitTest.java:153)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch.RunExportModel(ExportModelJUnitTestBatch.java:84)
at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102)
at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47)
at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41)
at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
Caused by: java.lang.RuntimeException: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:223)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
... 13 more
REST: The timeout period of 5000ms has been exceeded.
REST: The timeout period of 5000ms has been exceeded.
HttpClientHelper.java: Received an error for request 0: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
REST: Error: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
HttpClientHelper.java: Received an error for request 0: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 1: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 2: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 3: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 4: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 5: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 6: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 7: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 8: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
HttpClientHelper.java: Received an error for request 9: io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
io.netty.resolver.dns.DnsNameResolverContext$SearchDomainUnknownHostException: Search domain query failed. Original hostname: 'terra.eecs.berkeley.edu' failed to resolve 'terra.eecs.berkeley.edu.google.internal' after 2 queries
at io.netty.resolver.dns.DnsNameResolverContext.finishResolve(DnsNameResolverContext.java:721)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:663)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:306)
at io.netty.resolver.dns.DnsNameResolverContext.query(DnsNameResolverContext.java:295)
at io.netty.resolver.dns.DnsNameResolverContext.tryToFinishResolve(DnsNameResolverContext.java:636)
at io.netty.resolver.dns.DnsNameResolverContext$3.operationComplete(DnsNameResolverContext.java:342)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:420)
at io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:104)
at io.netty.resolver.dns.DnsQueryContext.setSuccess(DnsQueryContext.java:197)
at io.netty.resolver.dns.DnsQueryContext.finish(DnsQueryContext.java:180)
at io.netty.resolver.dns.DnsNameResolver$DnsResponseHandler.channelRead(DnsNameResolver.java:965)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
WARNING: TestSpontaneous: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [11.0]
WARNING: VertxSubscribe: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [11.0]
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30584$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30583$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30608$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30602$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30601$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30651$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30650$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30675$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30669$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30668$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30718$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30717$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30742$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30736$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30735$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30785$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30784$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30809$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30803$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30802$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30852$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30851$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30876$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30870$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30869$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30919$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30918$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30943$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30937$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30936$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30986$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$30985$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31010$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31004$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31003$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetector/FaceDetector.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetector.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetector.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetector.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetector.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31053$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31052$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31077$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31071$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31070$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at ptolemy.vergil.basic.export.ExportModel.exportModel(ExportModel.java:227)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTest.RunExportModel(ExportModelJUnitTest.java:153)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch.RunExportModel(ExportModelJUnitTestBatch.java:84)
at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102)
at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47)
at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41)
at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
Caused by: java.lang.RuntimeException: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:223)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
... 13 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31154$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31153$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31178$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31172$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31171$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31351$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31350$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31375$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31369$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31368$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31548$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31547$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31572$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31566$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31565$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31649$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31648$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31673$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31667$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31666$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31846$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31845$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31870$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31864$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31863$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31947$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31946$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31971$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31965$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$31964$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32048$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32047$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32072$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32066$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32065$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/FaceDetectorCamera/FaceDetectorCamera.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .FaceDetectorCamera.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .FaceDetectorCamera.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .FaceDetectorCamera.FaceDetector.script
Because:
Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .FaceDetectorCamera.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32245$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32244$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32269$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32263$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32262$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at ptolemy.vergil.basic.export.ExportModel.exportModel(ExportModel.java:227)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTest.RunExportModel(ExportModelJUnitTest.java:153)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch.RunExportModel(ExportModelJUnitTestBatch.java:84)
at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102)
at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47)
at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41)
at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
Caused by: java.lang.RuntimeException: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:223)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
... 13 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32346$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32345$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32370$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32364$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32363$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32447$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32446$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32471$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32465$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32464$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32644$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32643$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32668$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32662$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32661$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32745$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32744$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32769$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32763$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32762$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32942$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32941$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32966$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32960$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$32959$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33043$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33042$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33067$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33061$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33060$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33240$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33239$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33264$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33258$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33257$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Failed to read file:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/demo/OccupancyCount/OccupancyCount.xml
ptolemy.kernel.util.InternalErrorException: Element <param name="script" value="// Copyright (c) 2016-2017 The Regents of the University of California.
// All rights reserved.
//
// Permission is hereby granted, without written agreement and without
// license or royalty fees, to use, copy, modify, and distribute this
// software and its documentation for any purpose, provided that the above
// copyright notice and the following two paragraphs appear in all copies
// of this software.
//
// IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
// FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
// SUCH DAMAGE.
//
// THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
// CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
// ENHANCEMENTS, OR MODIFICATIONS.
//
/** Try me! For 'input', enter /accessors/hosts/browser/demo/computerVision/terraswarmeyes.jpg
* then click 'react to inputs'.
*
* A face detector accessor.
* This accessor detects faces in an input stream.
*
* The options parameter can include the following fields:
* * _value_: The MinFaceSize and MaxFaceSize, which defaults to 50 and 400.
* * _type_: If set to 'JSON'
*
* The implementation for the Ptolemy II host uses
* [https://opencv.org](openCV) which is licensed under a BSD 3-clause license.
*
* @accessor image/FaceDetector
* @input input A stream of images.
* @input options The value and type options.
* @output output The results of filtering the image according to the options
* @output {int} faceCount The number of faces
* @author Ilge Akkaya. Contributor: Christopher Brooks
* @version $$Id$$
*/
// Stop extra messages from jslint. Note that there should be no
// space between the / and the * and global.
/*globals addInputHandler, exports, get, getParameter, input, output, removeInputHandler, require, send */
/*jshint globalstrict: true */
"use strict";
var faceDetector = require('@accessors-modules/face-detector');
exports.setup = function () {
this.input('input');
this.parameter('options', {
'value': '{"MinFaceSize": 50, "MaxFaceSize": 500}',
'type': 'JSON'
});
this.parameter('transform', {
type: 'string',
options: faceDetector.filters,
value: 'faces'
});
this.output('output');
this.output('faceCount', {
'type': 'int'
});
this.output('faces');
};
exports.initialize = function () {
var self = this;
this.addInputHandler('input', function () {
var options = this.getParameter('options');
var transform = this.getParameter('transform');
var image = this.get('input');
faceDetector.filter(image, transform, options, function (result) {
self.send('output', result);
var numFaces = faceDetector.numberOfFaces();
self.send('faceCount', numFaces);
var faces = faceDetector.faceRectangles();
self.send('faces', JSON.stringify(faces));
});
});
};
"/> caused an exception to be thrown.
in .OccupancyCount.FaceDetector
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.moml.SimpleErrorHandler.handleError(SimpleErrorHandler.java:75)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:885)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
... 30 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
in .OccupancyCount.FaceDetector.script
Because:
Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable.validate(Variable.java:1619)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
... 31 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression:
// Copyright (c) 2016-2017 The Regents of the University of California.
...
in .OccupancyCount.FaceDetector.script
Because:
Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.data.expr.Variable._evaluate(Variable.java:1891)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
... 33 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script.
in .OccupancyCount.FaceDetector
Because:
Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
... 37 more
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186)
at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497)
at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548)
at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312)
at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271)
at ptolemy.data.expr.Variable._evaluate(Variable.java:1873)
at ptolemy.data.expr.Variable._propagate(Variable.java:1984)
at ptolemy.data.expr.Variable.validate(Variable.java:1596)
at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1595)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1537)
at ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:424)
at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:234)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1126)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1052)
at ptolemy.actor.gui.ConfigurationApplication._openModel(ConfigurationApplication.java:1261)
at ptolemy.actor.gui.ConfigurationApplication._parseArg(ConfigurationApplication.java:1408)
at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1487)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:286)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:214)
at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:201)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:689)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/face-detector line #57 : Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/faceDetector/faceDetector.js
Error: Could not find the org.ptolemy.opencv.FaceRecognizer class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help.
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:57)
at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429)
at <anonymous> (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at <anonymous> (<function>:53)
at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at evaluateCode (<eval>:96)
at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:101)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:105)
at org.openjdk.nashorn.internal.objects.NativeError.<init>(NativeError.java:109)
at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33437$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33436$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33461$1AAAAAAAAAAAAAA$\^function\_.L:1(<function>:53)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33455$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30<eval>:545)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$33454$2801AAA$\^eval\_.evaluateCode(<eval>:96)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379)
... 39 more
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1367)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1342)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
at ptolemy.vergil.basic.export.ExportModel.exportModel(ExportModel.java:227)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTest.RunExportModel(ExportModelJUnitTest.java:153)
at ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch.RunExportModel(ExportModelJUnitTestBatch.java:84)
at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102)
at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47)
at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41)
at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237)
at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033)
Caused by: java.lang.RuntimeException: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:223)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ptolemy.kernel.util.InternalErrorException: Failed to get the model directory? This can happen in a headless environment when the model attempts to interact with the graphical display. It can also happen when the model fails to parse because of a missing class.
at ptolemy.actor.gui.ConfigurationApplication.models(ConfigurationApplication.java:557)
at ptolemy.actor.gui.ConfigurationApplication.openModelOrEntity(ConfigurationApplication.java:707)
at ptolemy.vergil.basic.export.ExportModel$1.run(ExportModel.java:220)
... 13 more
WARNING: REST: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [5.466, 5.0]
WARNING: Clock: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [28.0]
WARNING: REST: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [23.0]
WARNING: TestSpontaneous: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [21.0]
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
WARNING: Camera: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [20.060000000000002, 20.161]
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
WARNING: Camera: Model stopped before executing actions (e.g. producing outputs) scheduled for execution at times [20.073]
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamOpenTask - Opening webcam Dummy Webcam 0
[atomic-processor-1] INFO com.github.sarxos.webcam.ds.cgt.WebcamCloseTask - Closing Dummy Webcam 0